package com.leave.entity;

import java.sql.Timestamp;
import java.util.Date;

public class Leave {
    private String leaveID;
    private String courseID;
    private String reason;
    private String dayNum;
    private String stuNo;
    private String status;
    private Timestamp applyTime;
    private Timestamp auditTime;
    private String opinion;

    public String getLeaveID() {
        return leaveID;
    }

    public void setLeaveID(String leaveID) {
        this.leaveID = leaveID;
    }

    public String getCourseID() {
        return courseID;
    }

    public void setCourseID(String courseID) {
        this.courseID = courseID;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getDayNum() {
        return dayNum;
    }

    public void setDayNum(String dayNum) {
        this.dayNum = dayNum;
    }

    public String getStuNo() {
        return stuNo;
    }

    public void setStuNo(String stuNo) {
        this.stuNo = stuNo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Timestamp applyTime) {
        this.applyTime = applyTime;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Timestamp auditTime) {
        this.auditTime = auditTime;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    @Override
    public String toString() {
        return "Leave{" +
                "leaveID='" + leaveID + '\'' +
                ", courseID='" + courseID + '\'' +
                ", reason='" + reason + '\'' +
                ", dayNum='" + dayNum + '\'' +
                ", stuNo='" + stuNo + '\'' +
                ", status='" + status + '\'' +
                ", applyTime=" + applyTime +
                ", auditTime=" + auditTime +
                ", opinion='" + opinion + '\'' +
                '}';
    }
    public Leave(){

    }

}
